package com.dx.domain;

import lombok.*;

import java.util.ArrayList;

/**
 * @ClassName Student
 * @Description TODO:
 * @Author 12994
 * @Date 2024/10/18 15:59
 * @Version 1.0
 **/
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    /*
    StudentNo    int auto_increment comment '学号' primary key,
    LoginPwd     varchar(20)  null,
    StudentName  varchar(20)  null comment '学生姓名',
    Sex          tinyint(1)   null comment '性别，取值0或1',
    GradeId      int          null comment '年级编号',
    Phone        varchar(50)  not null comment '联系电话，允许为空，即可选输入',
    Address      varchar(255) null comment '地址，允许为空，即可选输入',
    BornDate     varchar(200) null comment '出生时间',
    Email        varchar(50)  null comment '邮箱账号，允许为空，即可选输入',
    IdentityCard varchar(18)  null comment '身份证号'
     */
    private Integer studentNo;
    private String loginPwd;
    private String studentName;
    private Boolean sex;
    private Integer gradeId;
    private String phone;
    private String address;
    private String bornDate;
    private String email;
    private String identityCard;

    // Grade实体类
    private Grade grade;

    // 学生持有的课程实体的列表
    private ArrayList<Subject> subjectList;
}
